/**
 * Customize default theme styling by overriding CSS variables:
 * https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
 */

/**
 * Colors
 * -------------------------------------------------------------------------- */

:root {
  --vp-c-brand: #00ADD8;
  --vp-c-brand-light: #3fbfdf;
  --vp-c-brand-lighter: #6ccfe8;
  --vp-c-brand-dark: #0099c0;
  --vp-c-brand-darker: #0086a8;

  --vp-c-sponsor: #00ADD8;
}

/**
 * Component: Button
 * -------------------------------------------------------------------------- */

:root {
  --vp-button-brand-border: var(--vp-c-brand-light);
  --vp-button-brand-text: var(--vp-c-white);
  --vp-button-brand-bg: var(--vp-c-brand);
  --vp-button-brand-hover-border: var(--vp-c-brand-light);
  --vp-button-brand-hover-text: var(--vp-c-white);
  --vp-button-brand-hover-bg: var(--vp-c-brand-light);
  --vp-button-brand-active-border: var(--vp-c-brand-light);
  --vp-button-brand-active-text: var(--vp-c-white);
  --vp-button-brand-active-bg: var(--vp-button-brand-bg);
}

/**
 * Component: Home
 * -------------------------------------------------------------------------- */

:root {
  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: -webkit-linear-gradient(
    120deg,
    #00ADD8 30%,
    #41b883
  );

  --vp-home-hero-image-background-image: linear-gradient(
    -45deg,
    #00ADD8 50%,
    #47caff 50%
  );
  --vp-home-hero-image-filter: blur(40px);
}

@media (min-width: 640px) {
  :root {
    --vp-home-hero-image-filter: blur(56px);
  }
}

@media (min-width: 960px) {
  :root {
    --vp-home-hero-image-filter: blur(72px);
  }
}

/**
 * Component: Custom Block
 * -------------------------------------------------------------------------- */

:root {
  --vp-custom-block-tip-border: var(--vp-c-brand);
  --vp-custom-block-tip-text: var(--vp-c-brand-darker);
  --vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}

/**
 * Component: Algolia
 * -------------------------------------------------------------------------- */

.DocSearch {
  --docsearch-primary-color: var(--vp-c-brand) !important;
}

/**
 * Custom Styles
 * -------------------------------------------------------------------------- */

/* Hero image */
.VPHero .VPImage {
  max-width: 100%;
}

/* Feature icons */
.VPFeature .icon {
  font-size: 2rem;
}

/* Code blocks */
.vp-doc div[class*='language-'] {
  border-radius: 8px;
}

/* Links */
.vp-doc a {
  font-weight: 500;
}

/* Tables */
.vp-doc table {
  display: table;
  width: 100%;
}
